package com.java0106;

public class Test05 {
    public static void main(String[] args) {
        //封装类
        int a = 2;
        Integer b =a;
        b=2;
        //将字符串转换为其它
        String s = "99";
        int i = Integer.parseInt(s);
        System.out.println(i);

        double v = Double.parseDouble(s);
        System.out.println(v);

        String s1 = "1";
        boolean b1 = Boolean.parseBoolean(s1);
        System.out.println(b1);


    }
}
